package com.qi.demo01.Stream;

import java.util.Arrays;
import java.util.List;

/**
 * @author zjq
 * @date 2020/3/29 15:14
 */
public class Test {
    public static void main(String[] args) {
        User user = new User(1, "a", 22);
        User user1 = new User(11, "b", 32);
        User user2 = new User(111, "c", 42);

        //集合就是存储
        List<User> list = Arrays.asList(user, user1, user2);

        //计算就交给流

    }
}
